package com.nativetalk.common;

/**
 * @ClassName: Common.java
 * @Description: TODO(用一句话描述该文件做什么)
 * 
 * @author lizhun
 * @version V1.0
 */


public class Constant {

	public final static String teacher = "testteacher";
	public final static String member = "testmember";
//	/**
//	 * 个推学生端
//	 */
//	public final static String student_appId = "wN2vWapMje9inMXJ7Jeti9";
//	public final static String student_appKey = "WGkygFxdpZ8wY0NVISlZx";
//	public final static String student_masterSecret = "ARs28HliDkADk02UbmHjI4";
	/**
	 * 个推学生端测试
	 */
	public final static String student_appId = "gc0KEPA5a69S5k3MdcgcE";
	public final static String student_appKey = "ulTBJiMsEs69vCnP2YUl4";
	public final static String student_masterSecret = "3U52SIrMMu627UhIgo7WR5";
	public final static String getui_url ="http://sdk.open.api.igexin.com/serviceex";

	/**
	 * 正式个推教师端
	 */
//	public final static String teacher_appId = "vx0q9U5iBf9RF9h15BeAX7";
//	public final static String teacher_appKey = "9EaUK1v32u5lCbwXCDLz51";
//	public final static String teacher_masterSecret = "jlEVtepwRR8bJvuTZFjwv6";
//	/**
//	 * 测试个推教师端
//	 */
	public final static String teacher_appId = "LZPYOoKC5k5l3szyvlWaI4";
	public final static String teacher_appKey = "7fhcMUjVah9jS1ni2XN7c8";
	public final static String teacher_masterSecret = "rO2zzcX4Lq9E38BYX3tM54";

	//使用https的域名
	public static String url = "https://api.getui.com/apiex.htm";
	/**
	 * ping++ 相关信息
	 */
	public final static String APP_ID = "app_OiXzDS9evH0KifPa";
	//public final static String Test_Secret_Key = "sk_test_f9SOuLerj1mDrLCybDz9SW18";
	//public final static String Test_Publishable_Key  = "pk_test_WbrbLS04WnH4zPa5OGuPGWDK";
	public final static String Live_Secret_Key = "sk_live_zTabHG0aH8m9zbXvzT9CSqLS";
	public final static String Live_Publishable_Key = "pk_live_rzbjTO9mvPKSD4CGCOznH400";
	public final static String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBcecxlnqhnIlOHLTu3o" +
			"cGr8XGa1PaRJFlwYr7YpXp4MiJc0rxnHiS+CF1xygjr0oXINAIvbT8b+PWxMSZf/" +
			"UrNvPOAS0f5j5VhmkUFUqqIoDXbZsiiQxQSgaAlWMidsgRXVG5AUD4PRn8gaNITk" +
			"sbLAYVad6tAhYvUcJt02KYJsCdA0LFy4l074okFBLwBEDCwgRywDezmVJTRTPefh" +
			"W/1ILYJq2TOG55ubQo6ucdSSYI1vAvKIlpWLaoQjzYj6tYjCc6r6/oCo5c4ucmQF" +
			"+Vb3Zg7dlSA0BUpHf5FMo931x9ZbGiDJhCTNbSEDPqbIStzbORlqaI2uDpqYc/gi" +
			"pwIDAQAB" ;
	/**
	 * 阿里云Oss
	 */
	public final static String accessKeyId = "dzhm6kIZDL8VpgPP";
	public final static String accessKeySecret = "4qSofG2TiEABy1Gcs0IhgHXpdLKust";
	public final static String MALL_bucketName = "waijiaojun";
	public final static String DOMAIN = "http://file.waijiaojun.com/";// file.globalvillage.biz
	/**
	 * 文件父路径
	 */
	public static final String FILE = "waijiaojun";
	/**
	 * 图片路径
	 */
	public static final String FILEIMG = "app";	// 暂不能使用

	/**
	 * 自由话题的课程id
	 */
	public static final String freetalk_cou_id = "100";
//	public static  final  Double amount = 2.00;
//	public static  final  Double tea_amount = 0.2;
//	/**
//	 * 学生邀请奖励
//	 */
//	public static  final  Double memb_int_reward = 5.00;
//	public static  final  Double memb_cover_int_reward = 5.00;
//	public static  final  int memb_reward_limit = 20;
//	/**
//	 * 教师邀请奖励
//	 */
//	public static  final  Double tea_int_reward = 5.00;
//	public static  final  Double tea_cover_int_reward = 5.00;
//	public static  final  int tea_reward_limit = 20;

	/**
	 * 老师相关常量
	 */
	public static class Teacher{
		public static class State{
			public static final String online = "0";
			public static final String busy = "2";
			public static final String offline = "1";
		}
		public static class StateOrder{
			public static final int online = 0;
			public static final int busy = 1;
			public static final int offline = 2;
		}
		/**
		 * 老师资金变化类型
		 * 0:Freetalk 1:Appointment 2:Withdraw deposit 3:Others 4:live
		 */
		public static class FundChangeType {
			public static int freetalk_code = 0;
			public static String freetalk_msg = "Free talk class";

			public static int appointment_code = 1;
			public static String appointment_msg = "Appointment class";

			public static int drawDeposit_code = 2;
			public static String drawDeposit_msg = "Current deposit";

			public static int other_code = 3;
			public static String other_msg = "Other";

			public static int live_code = 4;
			public static String live_msg = "Live";
		}
	}



	/**
	 * 资金变化进度状态
	 * 1转账中2已付款
	 */
	public static class fundProgressState {
		/**
		 * 1 转账中
		 */
		public static String transferring_code = "1";

		/**
		 * 2 已付款
		 */
		public static String paid_code = "2";

	}
}
